programs.floorp.profiles.<name>.handlers.mimeTypes

Attribute set mapping MIME types to their handler configurations.

For a configuration example, see this file on Firefox’s source code.

Type
attribute set of (submodule)
Default
{ }
Example
{
  "application/pdf" = {
    action = 2;
    ask = false;
    handlers = [
      {
        name = "Okular";
        path = "${pkgs.okular}/bin/okular";
      }
    ];
    extensions = [ "pdf" ];
  };
}
Declared
<home-manager/modules/programs/floorp.nix>